'use strict';

import { Application } from 'egg';
/**
 * 
 * @param app 
 * 官网上的路由模块
 * 官网上的查询通过此模块
 */
export default function(app: Application) {
  //高德官网接口
  const{router,controller}=app;
  router.get("/banner/list",controller.banner.list);
  router.get("/footer",controller.home.footer);
  router.get("/download/*",controller.manage.resource.download); 
  router.get("/home",controller.home.index);
  router.get("/product/cate_list",controller.product.cate_list);
  router.get("/product/list",controller.product.list);
  router.get("/product/info",controller.product.info);
  router.get("/solution/list",controller.solution.list);
  router.get("/solution/cate_list",controller.solution.cate_list);
  router.get("/solution/info",controller.solution.info);
  router.get("/service/list",controller.service.list);
  router.get("/about/cate_list",controller.about.cate_list);
  router.get("/about/news_list",controller.about.news_list);
  router.get("/about/news_info",controller.about.news_info);
  router.get("/about/hire_info",controller.about.hire_info);
  router.get("/about/hire_list",controller.about.hire_list);

  router.get("/test",controller.home.test)
}